# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy


class ItcastItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    # 数据建模 定义要提取的字段
    # 讲师的名字
    name = scrapy.Field()
    # 讲师的职称
    level = scrapy.Field()
    # 讲师的介绍
    text = scrapy.Field()


class JobItem(scrapy.Item):
    name = scrapy.Field()
    # 详情页url地址
    detail_url = scrapy.Field()
    # 发布时间
    pub_date = scrapy.Field()
